import { request } from '@api/service'

export const fetchList = (params) => {
  return request({
    url: '/images/index',
    method: 'get',
    params
  })
}

export const update = (params, data) => {
  return request({
    url: '/images/update',
    method: 'post',
    params,
    data
  })
}
